import * as types from '../mutation-types'
const state = {
    cacheExcludeComponent: []
}

const getters = {
    cacheExcludeComponent: () => state.cacheExcludeComponent

}

const actions = {
    setCacheExcludeComponentName({ commit }, componentsName) {
        commit(types.CACHE_EXCULDE_COMPONENT, componentsName)

    },


}
const mutations = {
    [types.CACHE_EXCULDE_COMPONENT](state, componentsName) {
        state.cacheExcludeComponent = componentsName
    }

}
export default {
    state,
    getters,
    actions,
    mutations
}